package com.dhecp.project.system.mapper;

import com.dhecp.core.genericDao.GenericDao;
import com.dhecp.project.system.domain.SysHardWareRegisterInfo;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @ClassName SysHardWareRegisterInfoMapper
 * @Description TODO
 * @Author alula
 * @Date 2020-07-21 14:55
 */
public interface SysHardWareRegisterInfoMapper  extends GenericDao<SysHardWareRegisterInfo, String> {

    //已注册的信息
    List<SysHardWareRegisterInfo> findSysHardWareRegisterInfoList(Map<String, Object> params);

    SysHardWareRegisterInfo findSysHardWareRegisterInfoById(@Param("id") String id);

    SysHardWareRegisterInfo findSysHardWareRegisterInfoByHardInfo(@Param("hardInfo") String hardInfo);

    int findSysHardWareRegisterInfoCount(Map<String, Object> params);

    int insertSysHardWareRegisterInfo(SysHardWareRegisterInfo sysHardWareRegisterInfo);

    int deleteSysHardWareRegisterInfoById(@Param("id") String id);

    int updateSysHardWareRegisterInfoByHardInfo(Map<String, Object> params);

    //未注册的信息
    List<SysHardWareRegisterInfo> findSysHardWareUnRegisterInfoList(Map<String, Object> params);

    SysHardWareRegisterInfo findSysHardWareUnRegisterInfoById(@Param("id") String id);

    int insertSysHardWareUnRegisterInfo(SysHardWareRegisterInfo sysHardWareRegisterInfo);

    int deleteSysHardWareUnRegisterInfoById(@Param("id") String id);

    int deleteSysHardWareUnRegisterInfoByHardInfo(@Param("hardInfo") String hardInfo);
    
}
